package gamagora.game.world.maps.game
{
	import gamagora.game.world.maps.OSMap;
	import gamagora.game.entity.*;

	public class OSMap39 extends OSMap
	{
		public function OSMap39()
		{
			super();

			var ground:OSGround = new OSGround(0, 920, 440, 160, 0, false);
			ground.setNoErosionDown([154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175]);
			ground.setNoErosionLeft([0, 22, 44, 66, 88, 110, 132, 154]);
			ground.setNoErosionRight([21, 43, 65, 87, 109, 131, 153, 175]);
			ground.erode();
			add(ground);

			ground = new OSGround(440, 920, 460, 160, 0, false);
			ground.setNoErosionUp([13, 21]);
			ground.setNoErosionDown([161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183]);
			ground.setNoErosionLeft([0, 23, 46, 69, 92, 115, 138, 161]);
			ground.setNoErosionRight([22, 45, 68, 91, 114, 137, 160, 183]);
			ground.erode();
			add(ground);

			ground = new OSGround(690, 890, 200, 20, 0, true);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(700, 900, 20, 20, 0, false);
			ground.erode();
			add(ground);

			ground = new OSGround(860, 900, 20, 20, 0, false);
			ground.erode();
			add(ground);

			ground = new OSGround(900, 780, 60, 300, 0, false);
			ground.setNoErosionDown([42, 43, 44]);
			ground.setNoErosionLeft([21, 24, 27, 30, 33, 36, 39, 42]);
			ground.setNoErosionRight([2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44]);
			ground.erode();
			add(ground);

		}
	}
}
